package com.yuyu.shop.infrastructure.persistence.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author
 * @version 1.0
 * @description: 收货信息po类
 * @date 2022/8/31 9:27
 */
@Data
@Accessors(chain = true)
@TableName("t_receive_info")
public class ReceiveInfoPO extends AbstractBasePO {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;  //主键

    private Long userId; //用户id

    private String phone; //收货人电话

    private String name; //收货人名字

    private String address; //收货地址

    private Integer isDefault; //是否默认信息
}
